package com.dhcc.DRGsHosp.facade.dto;

import java.io.Serializable;


public class CostSubDTO implements Serializable {

	private String costSubcode;

	private String dccCode;

	private String costSubdesc;

	private String parcostCatecode;
	
	//医嘱费用表代码
	private String orderScode;
	
	//费用分类别名
	private String costSubAlias;
	
	//是否费用明细(是否用于计算费用和):1为是，0为不是
	private String isDetail;
	
	//质控费用编码
	private String costCodeQuality;
	
	public String getIsDetail() {
		return isDetail;
	}

	public void setIsDetail(String isDetail) {
		this.isDetail = isDetail;
	}

	public void setDccCode(String dccCode) {
		this.dccCode = dccCode;
	}

	public String getDccCode() {
		return this.dccCode;
	}

	public void setCostSubdesc(String costSubdesc) {
		this.costSubdesc = costSubdesc;
	}

	public String getCostSubdesc() {
		return this.costSubdesc;
	}

	public void setParcostCatecode(String parcostCatecode) {
		this.parcostCatecode = parcostCatecode;
	}

	public String getParcostCatecode() {
		return this.parcostCatecode;
	}

	public String getCostSubcode() {
		return costSubcode;
	}

	public void setCostSubcode(String costSubcode) {
		this.costSubcode = costSubcode;
	}
	
	public String getOrderScode() {
		return orderScode;
	}

	public void setOrderScode(String orderScode) {
		this.orderScode = orderScode;
	}

	public String getCostSubAlias() {
		return costSubAlias;
	}

	public void setCostSubAlias(String costSubAlias) {
		this.costSubAlias = costSubAlias;
	}

	public String getCostCodeQuality() {
		return costCodeQuality;
	}

	public void setCostCodeQuality(String costCodeQuality) {
		this.costCodeQuality = costCodeQuality;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((costSubcode == null) ? 0 : costSubcode.hashCode());
		return result;
	}
	
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CostSubDTO other = (CostSubDTO) obj;
		if (costSubcode == null) {
			if (other.costSubcode != null)
				return false;
		} else if (!costSubcode.equals(other.costSubcode))
			return false;
		return true;
	}
}